#pragma once
#ifndef MeshSerialize_hpp
#define MeshSerialize_hpp

#include"../../Serialize/SerialBuffer.hpp"
#include"../../Serialize/SerialVector.hpp"
#include"../../TesMath/TesMesh.h"

namespace MMF { namespace Mesh {

class MeshSerialize
{

public:

    static MMFSerialize::SerialInBuffer& Serialize(MMFSerialize::SerialInBuffer& buff, const TesMesh& mesh);
    static MMFSerialize::SerialOutBuffer& Deserialize(MMFSerialize::SerialOutBuffer& buff, TesMesh& mesh);
};


}}


#endif